const messageElement = document.querySelector(".message");
const log = (x) => (messageElement.textContent = x);


const d = document.createElement("div");
d.style.position = "fixed";
d.style.left = "200px";
d.style.top = "200px";
d.style.width = "100px";
d.style.height = "100px";
d.style.background = "green";

document.body.appendChild(d);

window.addEventListener("mousemove", e => {
    console.log('e', e.x, e.y);
});

